package chapter04;
abstract class Animal {
    abstract void shout ();
}
class dog extends Animal {
    void shout () {
        System.out.println("汪汪......");
    }
}
public class example10 {
    public static void main (String[] args) {
        dog dog = new dog();
        dog.shout();
    }
}
